home *** CD-ROM | disk | FTP | other *** search
/ HPAVC / HPAVC CD-ROM.iso / pc / RLE_SPR.ZIP / FILE_ID.DIZ < prev    next >
Encoding:
Text File  |  1997-01-02  |  1.2 KB  |  29 lines

  1. ╔════════════════════════════════════════════════════════════════════════════╗
  2. ║         WGT Sprite File To/From RLE Sprite File Conversion Utility &       ║
  3. ║      Source Code of Routines for load/save RLE compressed sprite files.    ║
  4. ║                 Copyright 1997 Aleksei Sujurov  (alex.anet.ee)             ║
  5. ╚════════════════════════════════════════════════════════════════════════════╝
  6.  
  7. The Sprite File Format:
  8. -----------------------
  9. The RLE Sprite File contains one palette, and a number of bitmapped
  10. images.  Here is the format of the sprite files:
  11.  
  12.        1 integer         : Version number (Latest is 1)
  13.        17 bytes          : contains " RLE Sprite File " (with spaces at ends)
  14.        768 unsigned char : palette info
  15.        1 integer         : max number of sprites in file
  16.                            Version 1.0 is 2000
  17.  
  18.        startspr = 0
  19.  
  20.        sprite structures { (startspr to max sprite)
  21.            1 integer: sprite made (0 or 1)
  22.            if sprite is made (==1), then read in (block format)
  23.            {
  24.                 2 integers         : width and height
  25.                 1 long integers    : size of compressed data
  26.                 compressed data    : compressed data
  27.            }
  28.        end
  29.